package rxt.huiyi.com.rxterfit.presenter;

import android.content.Context;

import rxt.huiyi.com.rxterfit.RxJavaApplication;
import rxt.huiyi.com.rxterfit.module.RxJavaExecuter;

/**
 * Created by huiyi on 2017/4/24.
 */
public abstract class Presenter {

    protected Context context;
    protected RxJavaExecuter rxJavaExecuter;

    public Presenter(Context context){
        this.context = context;
        this.rxJavaExecuter = RxJavaApplication.get(context)
                .getRxAppComponent().getRxJavaExecuter();
    }

    public abstract void destroy();

}
